package com.cybertron.ironhide.search.persistence;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.cybertron.ironhide.search.domain.Category;

public interface CategoryMapper {
	int deleteByPrimaryKey(String id);

	int insert(Category record);

	int insertSelective(Category record);

	Category selectByPrimaryKey(String id);

	int updateByPrimaryKeySelective(Category record);

	int updateByPrimaryKey(Category record);

	List<Category> selectSiteMapByTreePath(@Param("ids") String[] ids);

	List<Category> selectChilds(@Param("parentId") String id,
			@Param("limit") Integer limit);
}